/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.jiadakeji.ppm.modules.business.entity;

import org.hibernate.validator.constraints.Length;

import com.jiadakeji.ppm.common.persistence.DataEntity;

/**
 * 投诉建议Entity
 * @author HHAOYU
 * @version 2019-08-21
 */
public class Advise extends DataEntity<Advise> {
	
	private static final long serialVersionUID = 1L;
	private String customerId;		// customer_id
	private String contents;		// contents

	private Customer customer;

	public Advise() {
		super();
	}

	public Advise(String id){
		super(id);
	}

	@Length(min=0, max=32, message="customer_id长度必须介于 0 和 32 之间")
	public String getCustomerId() {
		return customerId;
	}

	public void setCustomerId(String customerId) {
		this.customerId = customerId;
	}
	
	public String getContents() {
		return contents;
	}

	public void setContents(String contents) {
		this.contents = contents;
	}

	public Customer getCustomer() {
		return customer;
	}

	public void setCustomer(Customer customer) {
		this.customer = customer;
	}
}